package com.feri.sbb.service.intf;

import com.feri.sbb.entity.Grade;
import com.feri.sbb.entity.User;
import com.feri.sbb.vo.PageVo;
import com.feri.sbb.vo.R;

import javax.servlet.http.HttpSession;

/**
 * .::::.
 * .::::::::.
 * :::::::::::  I && YOU
 * ..:::::::::::'
 * '::::::::::::'
 * .::::::::::
 * '::::::::::::::..
 * ..::::::::::::.
 * ``::::::::::::::::
 * ::::``:::::::::'        .:::.
 * ::::'   ':::::'       .::::::::.
 * .::::'      ::::     .:::::::'::::.
 * .:::'       :::::  .:::::::::' ':::::.
 * .::'        :::::.:::::::::'      ':::::.
 * .::'         ::::::::::::::'         ``::::.
 * ...:::           ::::::::::::'              ``::.
 * ````':.          ':::::::::'                  ::::..
 * '.:::::'                    ':'````..
 * ━━━━━━永无BUG!━━━━━━
 *
 * @Description:
 * @Author: 邢朋辉
 * @Date: 2022/11/22 10:11
 */
public interface GradeService {
    /**
     * 新增*/
    R add(Grade grade);
    /**
     * 修改*/
    R update(Grade grade);
    /**
     * 删除*/
    R delete(int id);
    /**
     * 分页查询带条件*/
    PageVo queryPage(String name,String teacher,String course,int page,int limit);

}
